package com.hxexp.weixin.mvc.tourismchartered.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

import com.hxexp.weixin.constant.WebAppVersion;

/**
 * 南充当代运业旅游包车控制器
 *
 * @author li.jiang
 * @author wang.bin
 */
@Controller
@RequestMapping(value = "/tourismchartered")
public final class TourismCharteredController {

    /**
     * 设置页面需要的常量
     *
     * @return
     */
    @ModelAttribute("constant")
    public Map<String, String> setConstant() {
        Map<String, String> map = new HashMap<String, String>();
        map.put("appver_nc", WebAppVersion.NC);// 南充当代运业

        return map;
    }
    /**
     * 跳转到旅游包车提示页面
     *
     * @param model
     * @return 首页视图名
     */
    @RequestMapping(value = "/index")
    public String index(Model model) {

        return "tourismchartered_enquiry";
    }

}
